package edu.csust.cg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cg
 * @since 2022-05-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Book implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "bookID", type = IdType.AUTO)
    private Integer bookId;

    @TableField("bookName")
    private String bookName;

    @TableField("bookPrice")
    private Double bookPrice;


}
